package com.blb.zycommunity.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zycommunity.entity.SysPost;
import com.blb.zycommunity.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色信息表 服务类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface ISysRoleService extends IService<SysRole> {
    List<SysRole> findAllRoles();


    void getSysRolePageVo(Page<SysRole> pageRole, String name, String key, String createTime, String status);

    void addSysRole(SysRole sysRole,Object[] MenuId);


    void UpdateSysRole(SysRole sysRole,Object[] MenuId);


    void deleteById(Object[] roleId);

}
